package com.draem0507.refactor;

/**
 * @title 提升方法
 * @desc
 * @atuh lwx
 * @createtime on 2015/11/13 10:26
 */
public class Day_3 {


    abstract class Vehicle {
        // other methods
    }

    class Car extends Vehicle {
        public void Turn(String str) {
            // code here
        }
    }

    public class Motorcycle extends Vehicle {
        public void Turn(String str) {
            // code here
        }
    }

    abstract class Vehicle1 {
        public void Turn(String str) {
            // code here
        }
    }

    class Car1 extends Vehicle1 {

    }

    public class Motorcycle1 extends Vehicle1 {

    }








}


